package cn.wen.yinxiu.member.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import cn.wen.yinxiu.common.entity.BaseEntity;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 *
 * @ClassName: TalkBoxEntity
 * @Author 小飞
 * @Email coderwen22@163.com
 * @Date 2023-05-21 22:19:26
 * @Description: 聊天窗口实体类
 */
@Data
@TableName("y_talk_box")
public class TalkBoxEntity extends BaseEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 自增ID
	 */
	@TableId(value = "id", type = IdType.AUTO)
	private Long id;
	/**
	 * 用户ID
	 */
	private Long userId;
	/**
	 * 对话框ID(好友ID、群组ID)
	 */
	private Long talkId;
	/**
	 * 对话框类型；0好友、1群组
	 */
	private Integer talkType;
	/**
	 * 是否置顶 0：NO  1：置顶
	 */
	private Integer top;
	/**
	 * 1：可用  0：禁用
	 */
	private Integer status;

}
